/*
 * Created on 26/02/2004
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package org.potiorb.orb;



public abstract class ORB{

	private static ORBImpl m_ORB;

	public abstract Object string_to_object(String str);
	public abstract String object_to_string(Object obj);
	public abstract void run();
	public abstract void shutdown(boolean wait_for_completion);
	public abstract java.lang.Object resolve_initial_references(String identifier);

	public static ORBImpl init(){
		if (m_ORB == null)
			m_ORB = new ORBImpl();
		  return  m_ORB;
	}
	public static ORB init(String[] args, java.util.Properties props) {

		if (m_ORB == null)
			m_ORB = new ORBImpl();
		return  m_ORB;
	}


}
